package com.hadron.media.slideshow.patterns.factory 
{
	import com.hadron.media.slideshow.items.ISlideshowItem;
	
	/**
	 * Interface responsible for factoring ISlideshowItems based on passed parameter,
	 * in this particular case it would be asset url.
	 * @author Hadron
	 */
	public interface ICreator 
	{
		/**
		 * @param	assetURL Asset url - based on file extension creates proper item
		 * @return SlideshowItem implementing ISlideshowItem
		 */
		function createItem(assetURL:String):ISlideshowItem;
	}
	
}